Class yassl.javaproc
All Packages This Package Previous Next
Class yassl.javaproc
java.lang.Object
|
+----yassl.pnode
|
+----yassl.javaproc
-
public class
javaproc
-
extends pnode
This is the common interface to methods added from java classes.
It should be properly subclassed from lambdanode, but done
this way to save unnecessary space and work. Fix this? ;-)
-
saved_env
-
This keeps around the environment when the lambdanode was created.
-
javaproc()
-
Create a wrapper around methods from java
-
apply(pnode[])
-
apply the arguments to this procedure.
-
eval(Env)
-
Evaluation of a lambda node saves the environment as part of
the object, and returns a copy of the object.
-
help(Env)
-
Override this to get help about new functions.
saved_env
public Env saved_env
-
This keeps around the environment when the lambdanode was created.
javaproc
public javaproc()
-
Create a wrapper around methods from java
eval
public final pnode eval(Env e)
-
Evaluation of a lambda node saves the environment as part of
the object, and returns a copy of the object.
-
Overrides:
-
eval in class pnode
apply
public abstract pnode apply(pnode actuals[]) throws yasslError
-
apply the arguments to this procedure. The enclosing environment
is available in saved_env.
help
public String help(Env e)
-
Override this to get help about new functions.
The environment in which the help is called is passed in, in case
you need to look up anything.
-
Overrides:
-
help in class pnode
All Packages This Package Previous Next